var express = require('express');
var router = express.Router();
const studentServices = require("../src/services/student/studentServices")

/* GET users listing. */
router.get('/shows', async function(req, resp) {
 let res=  await  studentServices.showAllStudentsInfo();
  /* resp.json({
    "code": 0,
    "msg": "",
    "count": 1000, 
    "data": res
  } ) */

  resp.json({
    "status": 0,
    "message": "", 
    "total": 180, 
    "datas": res 
   })
});

module.exports = router;
